from gameset.phoenicia.base import *

from .wood import Firewood


class Charcoal(ProcessedMaterial):
    singular =_ ('Charcoal')
    plural   =_ ('Charcoal')
    price    =_ (100)


class CharcoalKiln(Workshop):
    name     =_ ('Charcoal Kiln')
    color    =_ (Grey.with_value(0.4).with_saturation(0.4))
    cost     =_ (100)
    size     =_ (4)
    staff    =_ (5)
    produces =_ (Production(input = Firewood(125), output = Charcoal(100), duration = 15))
